package com.qyhl.module_practice.activity.detail.apply;


import com.qyhl.webtv.commonlib.entity.UpTokenBean;
import com.qyhl.webtv.commonlib.entity.civilized.PracticeAcitivityBean;

import java.util.List;

public interface PracticeActApplyContract {
    interface PracticeActApplyView {
        void setActList(List<PracticeAcitivityBean> beanList);

        void actListError(String msg);

        void applySuccess(String msg);

        void applyError(String msg);

        void getTokenSuccess(UpTokenBean data, boolean isUpload);

        void getTokenError(boolean isUpload);
    }

    interface PracticeActApplyPresenter {
        void getActList(String volId);

        void applyScore(String volId, String title, String desc, String actId, String creator, String imgs);

        void setActList(List<PracticeAcitivityBean> beanList);

        void actListError(String msg);

        void applySuccess(String msg);

        void applyError(String msg);

        void getToken(boolean isUpload);

        void getTokenSuccess(UpTokenBean data, boolean isUpload);

        void getTokenError(boolean isUpload);
    }

    interface PracticeActApplyModel {
        void getActList(String volId);

        void applyScore(String volId, String title, String desc, String actId, String creator, String imgs);

        void getToken(boolean isUpload);
    }
}
